package com.icecloud.cloud.upms.entity.base;

import java.util.Date;
/**
 * 用户核心类
 * 这个类包含密码，一般不对外提供服务
 * @author penghaozhong
 *
 */
public class BaseCoreUser {

	private int userId; // '用户ID',
	private String username;// '用户名',
	private String email;// '电子邮箱',
	private String password;// '密码',
	private Date registerTime;// '注册时间',
	private String registerIp;// '注册IP',
	private Date lastLoginTime;// '最后登录时间',
	private String lastLoginIp;// '最后登录IP',
	private int loginCount;// '登录次数',
	private String resetKey;// '重置密码KEY',
	private String resetPwd;// '重置密码VALUE',
	private Date errorTime;// '登录错误时间',
	private int errorCount;// '登录错误次数',
	private String errorIp;// '登录错误IP',
	private int activation;// '激活状态',
	private String activationCode;// '激活码',
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Date getRegisterTime() {
		return registerTime;
	}
	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}
	public String getRegisterIp() {
		return registerIp;
	}
	public void setRegisterIp(String registerIp) {
		this.registerIp = registerIp;
	}
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public String getLastLoginIp() {
		return lastLoginIp;
	}
	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}
	public int getLoginCount() {
		return loginCount;
	}
	public void setLoginCount(int loginCount) {
		this.loginCount = loginCount;
	}
	public String getResetKey() {
		return resetKey;
	}
	public void setResetKey(String resetKey) {
		this.resetKey = resetKey;
	}
	public String getResetPwd() {
		return resetPwd;
	}
	public void setResetPwd(String resetPwd) {
		this.resetPwd = resetPwd;
	}
	public Date getErrorTime() {
		return errorTime;
	}
	public void setErrorTime(Date errorTime) {
		this.errorTime = errorTime;
	}
	public int getErrorCount() {
		return errorCount;
	}
	public void setErrorCount(int errorCount) {
		this.errorCount = errorCount;
	}
	public String getErrorIp() {
		return errorIp;
	}
	public void setErrorIp(String errorIp) {
		this.errorIp = errorIp;
	}
	public int getActivation() {
		return activation;
	}
	public void setActivation(int activation) {
		this.activation = activation;
	}
	public String getActivationCode() {
		return activationCode;
	}
	public void setActivationCode(String activationCode) {
		this.activationCode = activationCode;
	}

}
